package ocean.chinacraft.common;

import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.entity.EntityRendererManager;
import ocean.chinacraft.client.entity.render.RenderFirecracker;
import ocean.chinacraft.client.entity.render.RenderSkyLantern;

/**
 * Entity注册
 *
 * @author zhang
 * @since 2021/12/27
 */
public class ModEntity {

    public static void entityRender() {
        EntityRendererManager manager = Minecraft.getInstance().getEntityRenderDispatcher();
        manager.register(ModEntityTypes.FIRE_CRACKER.get(), new RenderFirecracker(manager));
        manager.register(ModEntityTypes.SKY_LANTERN.get(), new RenderSkyLantern(manager));
    }
}
